-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiNode Integration: TOML Configurations #844
Conversation
|
||
type MultiNode struct { | ||
// TODO: Determine current config overlap https://smartcontract-it.atlassian.net/browse/BCI-4065 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the result of checking for shareable config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not end up using any shared configs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to reuse the config across different chains. The EVM case might be a bit complex, but for new integrations like Aptos/Tron, it does not make sense to duplicate this code.
Could you create a follow up ticket to address that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah sounds good, we can extract this to the framework repo when doing the extraction.
pkg/solana/config/toml.go
Outdated
func (c *TOMLConfig) MultiNodeConfig() *MultiNodeConfig { | ||
return &c.MultiNode | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this still needed if we just use c.MultiNode
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wrapper is needed in order to allow the config names to be public, while also having the required functions names which are the same.
can you also link the core PR in PR description? it was buried in the test/deployment events |
Quality Gate failedFailed conditions |
Description
Added required TOML configurations for MultiNode integration.
Closes: https://smartcontract-it.atlassian.net/browse/BCFR-302
Core Bump Solana + Fix Tests PR: smartcontractkit/chainlink#14575
Requires Dependencies
This PR is a follow up to the MultiNode Initial Setup PR: #824